package com.jy.api.dao;


import com.jy.api.domain.ReferralCode;
import org.springframework.data.repository.CrudRepository;

/**
 * Created by hanxi on 2017/8/20.
 */
public interface ReferralCodeDao extends CrudRepository<ReferralCode, Long> {
    ReferralCode findByReferralCode(String code);
}
